home *** CD-ROM | disk | FTP | other *** search
- diff -c ./cd.def /home/scott/work/st-bash-1.10/src/builtins/cd.def
- *** ./cd.def Thu Jul 25 15:21:40 1991
- --- /home/scott/work/st-bash-1.10/src/builtins/cd.def Wed Oct 23 19:33:37 1991
- ***************
- *** 76,83 ****
-
- dirname = list->word->word;
-
- ! if (path_string && !absolute_pathname (dirname))
- ! {
- while ((path = extract_colon_unit (path_string, &index)))
- {
- char *dir;
- --- 76,102 ----
-
- dirname = list->word->word;
-
- ! /**
- ! ** (sjk)++ If on an Atari ST give ?:* a real crack at it.
- ! **/
- ! #if defined(atarist)
- ! if ( dirname && (strlen(dirname)>=2) )
- ! if (dirname[1]==':')
- ! { int i = strlen(dirname);
- ! char *dn; dn = alloca(strlen(dirname));
- ! --i;
- ! strcpy(dn,dirname);
- ! if (dn[i] == '/') dn[i]='\000';
- ! if (chdir(dn) >= 0)
- ! { strcpy(dirname,dn);
- ! strcpy(the_current_working_directory,dn);
- ! goto bind_and_exit;
- ! }
- ! }
- ! #endif
- !
- ! if (path_string && !absolute_pathname (dirname))
- ! { /* Path_String && !absolute_pathname */
- while ((path = extract_colon_unit (path_string, &index)))
- {
- char *dir;
- diff -c ./times.def /home/scott/work/st-bash-1.10/src/builtins/times.def
- *** ./times.def Sun Aug 4 13:44:01 1991
- --- /home/scott/work/st-bash-1.10/src/builtins/times.def Wed Oct 23 23:13:38 1991
- ***************
- *** 33,38 ****
- --- 33,45 ----
- #if defined (HAVE_RESOURCE) && !defined (hpux) && !defined (USGr4)
- #include <sys/time.h>
- #include <sys/resource.h>
- + /**
- + ** (sjk)++ Add sys/times.h on an Atari ST
- + **/
- + #if defined(atarist)
- + #include <stdio.h>
- + #include <sys/times.h>
- + #endif
- #else /* !HAVE_RESOURCE || !hpux || !USGr4 */
- #include <sys/times.h>
- #endif /* !HAVE_RESOURCE || !hpux || !USGr4 */
- ***************
- *** 43,49 ****
- times_builtin (list)
- WORD_LIST *list;
- {
- ! #if defined (HAVE_RESOURCE) && !defined (hpux) && !defined (USGr4)
- struct rusage self, kids;
-
- no_args (list);
- --- 50,60 ----
- times_builtin (list)
- WORD_LIST *list;
- {
- !
- ! /**
- ! ** (sjk)++ Adjust times builtin for Atari ST
- ! **/
- ! #if (defined (HAVE_RESOURCE) && !defined (hpux)) && !defined(atarist)
- struct rusage self, kids;
-
- no_args (list);
- diff -c ./ulimit.def /home/scott/work/st-bash-1.10/src/builtins/ulimit.def
- *** ./ulimit.def Tue Sep 24 22:44:25 1991
- --- /home/scott/work/st-bash-1.10/src/builtins/ulimit.def Wed Oct 23 17:08:43 1991
- ***************
- *** 61,66 ****
- --- 61,72 ----
- #if defined (HAVE_RESOURCE)
- #include <sys/time.h>
- #include <sys/resource.h>
- + /**
- + ** We require some library support on the Atari ST
- + **/
- + #if defined(atarist)
- + #include "../lib+/r-res.h"
- + #endif
- #else
- #include <sys/times.h>
- #endif
-